import { createStore } from "vuex";

// 创建一个新的 store 实例
const store = createStore({
  state: {
    lang: "zh",
  },
  mutations: {
    changeLang(state, payload) {
      state.lang = payload;
    },
  },
});
export default store;
